﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="folader_create.aspx.cs" Inherits="AnyOffice.Web.general.system.netshareMager.folader_create" %>
<%@ Register Src="../../../Control/CheckRight.ascx" TagName="CheckRight" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>新建目录</title>
     <script type="text/javascript">
         function CheckForm() {
             if (form1.txt_name.value == "") {
                 alert("名称不能为空！");
                 form1.txt_name.focus();
                 return false;
             }
              //特殊字符正则表达式
             var pattern = new RegExp("[ ,\\`,\\%,\\*,\\\\,\\/,\\?,\\|,\\<,\\>,\\',\\:,\"]");
             if (pattern.test(form1.txt_name.value)) {
                 alert('文件名不能包含下列任何字符之一：\ / : ? * " < > | %');
                 return false;
             }
             return true;
         }

         function Backurl() {
             window.history.go(-2);
//            window.parent.menu_main.location = 'public_folder.aspx';
         }
    </script>
</head>
<body class="bodycolor">
    <form id="form1" runat="server" method="post"> 
     <div class="main_div">
     <table class="small" cellspacing="0" cellpadding="3" width="100%" border="0">
                <tr>
                    <td class="Big">
                        <img height="18" src="../../../images/menu/file_folder.gif" width="22" alt="" />
                        <span class="big3" id="spa_title" runat="server">新建目录</span>
                    </td>
                </tr>
            </table>
             <br />
    <table class="small" cellspacing="1" cellpadding="2" width="70%" align="center" bgcolor="#000000"
                border="0">
		<tr>
			<td class="TableData" >当前位置：</td>
			<td class="TableData" style=" height:27px;">
                <asp:Label ID="labl_path" runat="server" Text="/"></asp:Label>
			</td>
		</tr>
		<tr>
			<td class="TableData" >名&nbsp;&nbsp;&nbsp;&nbsp;称：<font color="red">*</font></td>
			<td class="TableData">
                <asp:TextBox ID="txt_name" runat="server"  CssClass="BigInput" Font-Size="10" MaxLength="200" ></asp:TextBox>
			</td>
		</tr>
		<tr>
			<td class="TableData" >描&nbsp;&nbsp;&nbsp;&nbsp;述：</td>
			<td class="TableData">
            <asp:TextBox ID="txt_key" TextMode="MultiLine" MaxLength="500" Font-Size="10" Width="70%"  Height="50" CssClass="BigInput"
            runat="server"></asp:TextBox></td>
		</tr>
					
		<tr class="TableControl" align="center">
			<td  colspan="2">
                <asp:Button ID="btnSearch" runat="server" CssClass="BigButton" Text="确 定" 
                    OnClientClick="return CheckForm();" onclick="btnSearch_Click" />&nbsp;&nbsp;
				<input class="BigButton" onclick="Backurl()" type="button" value="返 回" />&nbsp;&nbsp;
			</td>
		</tr>
	</table>
    <asp:HiddenField ID="hdd_diskid" runat="server" />
    </div>
<uc1:CheckRight ID="CheckRight1" runat="server" />
    </form>
</body>
</html>
